import request from '@/utils/request'

// 查询VAF列表
export function listFunctionVaf(query) {
  return request({
    url: '/fpa/functionVaf/list',
    method: 'get',
    params: query
  })
}

// 查询VAF详细
export function getFunctionVaf(id) {
  return request({
    url: '/fpa/functionVaf/' + id,
    method: 'get'
  })
}

// 新增VAF
export function addFunctionVaf(data) {
  return request({
    url: '/fpa/functionVaf',
    method: 'post',
    data: data
  })
}

// 修改VAF
export function updateFunctionVaf(data) {
  return request({
    url: '/fpa/functionVaf',
    method: 'put',
    data: data
  })
}

// 删除VAF
export function delFunctionVaf(id) {
  return request({
    url: '/fpa/functionVaf/' + id,
    method: 'delete'
  })
}
